package com.dhecp.project.hr.mapper;


import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.business.domain.ProductActive;
import com.dhecp.project.common.domain.UpdateDeleted;
import com.dhecp.project.common.domain.UpdateFlow;
import com.dhecp.project.hr.domain.UserWelfare;
import org.apache.catalina.User;

import java.util.List;
import java.util.Map;

/**
 * @description: 员工福利申请-医社保、公积金备案
 * @author: hlf
 * @date: 2022-05-07 15:08
 */
public interface UserWelfareMapper extends GenericDao<UserWelfare, String> {

    /**
     *@Description: 修改删除标志（仅需 guid 和 deleted）
     *@Param: [updateDeleted]
     *@return: int
     *@Author: hlf
     *@date: 2022-05-09 10:13
     */
    int updateDeleted(UpdateDeleted updateDeleted);

    /**
     *@Description: 修改流程状态及生效标志（仅需 guid、activeFlow、effectStock、updateTime）
     *@Param: [updateFlow]
     *@return: int
     *@Author: hlf
     *@date: 2022-05-09 10:13
     */
    int updateFlow(UpdateFlow updateFlow);

    List<UserWelfare> queryUserWelfareList (Map<String, Object> params);


    /**
     * 查询已选择的商品数据
     * @param params
     * @return
     * @author DH-Xxj
     */
    List<UserWelfare> queryUserWelfareList2(Map<String, Object> params);
}
